package com.atguigu.gulimall.coupon.service;

import com.atguigu.common.to.SkuReductionTo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.coupon.entity.SkuFullReductionEntity;

import java.util.Map;

/**
 * 商品满减信息
 *
 * @author DuGuanghan
 * @since 2024-02-29 10:20:45
 */
public interface SkuFullReductionService extends IService<SkuFullReductionEntity> {

    /**
     * 分页查询
     *
     * @param params 参数
     * @return {@link PageUtils }
     * @author DuGuanghan
     * @since 2024-02-29 10:20:53
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存SKU减免信息
     *
     * @param skuReductionTo SKU减免传输对象
     * @author DuGuanghan
     * @since 2024-02-29 10:21:12
     */
    void saveSkuReduction(SkuReductionTo skuReductionTo);
}

